package demo6;

public class SingletonDemo {
    public static void main(String[] args) {
        Singleton s1=Singleton.getInstance();
        Singleton s2=Singleton.getInstance();

        System.out.println(s1);
        System.out.println(s1);
    }

}
